$OpenBSD: patch-qguiplatformplugin_kde_CMakeLists_txt,v 1.2 2014/01/28 14:49:26 zhuk Exp $
Fix build.
Filed as upstream Bug 292008
--- qguiplatformplugin_kde/CMakeLists.txt.orig	Thu Jan 19 03:49:58 2012
+++ qguiplatformplugin_kde/CMakeLists.txt	Thu Jan 19 03:51:22 2012
@@ -4,7 +4,7 @@ set(kde_SOURCES  qguiplatformplugin_kde.cpp)
 qt4_generate_moc(qguiplatformplugin_kde.cpp ${CMAKE_CURRENT_BINARY_DIR}/qguiplatformplugin_kde.moc)
 
 
-add_library (kde SHARED ${kde_SOURCES})
+add_library (kde SHARED ${kde_SOURCES} ${CMAKE_CURRENT_BINARY_DIR}/qguiplatformplugin_kde.moc)
 
 target_link_libraries(kde ${KDE4_KIO_LIBS} ${QT_QTGUI_LIBRARY})
 
